<div id="preject">
    <div id="table">
<table>
    <tr><th>序号</th> <th>标题</th> <th>举办部门</th> <th>发布时间</th> <th>截止时间</th> <th></th> <th></th></tr>
    {foreach $preject as $k=>$v }
    <tr><td>{$preject->currentPage()*30-30+$k+1}</td> <td>{$v.title}</td> <td>{$v.apartment}</td> <td>{$v.time}</td> <td>{$v.endtime}</td>   <td><a  href="{:url('sendpreject')}?id={$v.id}">编辑</a></td> <td><a href="{:url('deletepreject')}?id={$v.id}" onclick="javascript:if(confirm('确定删除报名吗？')){return true;}return false;">删除</a></td></tr>
    {/foreach}
</table>
    </div>
    <div id="page">{$preject}</div>
</div>